<?php
namespace app\validate;
use think\Validate;

class Vpsx extends Validate
{
	protected $rule=[
    'psname|属性等级名称'=>[
    	'require',
    	'min'=>2,
    	'max'=>255
    	],
	'psprice|商品等级对应的价格'=>[
		'require',
		'float'
		],
	];

}